package cn.edu.htu.entity;

/**
 * 描述: User
 *
 * @Package cn.edu.htu.entity
 * @Author dakai
 * @Data 2021/7/6 17:26
 * @Version V1.0
 * Excitation 将来的你，一定会感谢现在的你
 */
public class User{
    private Integer id;
    private String username;
    private String password;
    private Integer deptid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", deptid=" + deptid +
                '}';
    }

    public User(String username) {
        this.username = username;
    }

    public User() {
    }
}
